isAllowJavaScriptAccessCookies

public abstract boolean isAllowJavaScriptAccessCookies()

Indicates whether JavaScript code is allowed to read/write cookies in the browser cookies storage. By default, JavaScript is allowed to read/write cookies in the cookies storage using the document.cookie property.

If JavaScript is not allowed to read/write cookies then document.cookie will return an empty string, and document.cookie='test-cookie=test' will not change cookies in the cookies storage.

Since

7.2

Throws

when the browser is closed